<?php
    header('Access-Control-Allow-Origin:*');
    include_once '../model/model.php';

    $model = new model();
    $model->connect();


    $result = json_encode($model->getAllCuisine());
//    $resultJson = array("code"=>0,"data"=>$result);
//    var_dump($resultJson);
    echo $result;
    exit();